Xbasic

Office::Excel2003DocumentDeleteSheet Method

Syntax

.DeleteSheet as L (Index as N)

Arguments

IndexNumeric

The index of the sheet to delete.

Returns

resultLogical

Returns .T. if operation succeeds, otherwise .F.. The Office::Excel2003Document CallResult object will contain additional information if the operation fails.

Description

Delete the sheet at the index specified from the Excel document.

See Also